package com.pattern.strategy;

import lombok.Data;

/**
 * @Description: 环境
 * @Author: whp
 * @Date: 2021-01-28 16:53
 */
@Data
public class Context {
    private Strategy strategy;

    public void strategyMethod(){
        strategy.method();
    }
}
